/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.sample.library.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the Author service. Represents a row in the &quot;Author&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.sample.library.model.impl.AuthorModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.sample.library.model.impl.AuthorImpl}.
 * </p>
 *
 * @author Nguyen Tuan Anh
 * @see Author
 * @see com.sample.library.model.impl.AuthorImpl
 * @see com.sample.library.model.impl.AuthorModelImpl
 * @generated
 */
public interface AuthorModel extends BaseModel<Author> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a author model instance should use the {@link Author} interface instead.
	 */

	/**
	 * Returns the primary key of this author.
	 *
	 * @return the primary key of this author
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this author.
	 *
	 * @param primaryKey the primary key of this author
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the author ID of this author.
	 *
	 * @return the author ID of this author
	 */
	public long getAuthorId();

	/**
	 * Sets the author ID of this author.
	 *
	 * @param authorId the author ID of this author
	 */
	public void setAuthorId(long authorId);

	/**
	 * Returns the first middle name of this author.
	 *
	 * @return the first middle name of this author
	 */
	@AutoEscape
	public String getFirstMiddleName();

	/**
	 * Sets the first middle name of this author.
	 *
	 * @param firstMiddleName the first middle name of this author
	 */
	public void setFirstMiddleName(String firstMiddleName);

	/**
	 * Returns the last name of this author.
	 *
	 * @return the last name of this author
	 */
	@AutoEscape
	public String getLastName();

	/**
	 * Sets the last name of this author.
	 *
	 * @param lastName the last name of this author
	 */
	public void setLastName(String lastName);

	/**
	 * Returns the full name of this author.
	 *
	 * @return the full name of this author
	 */
	@AutoEscape
	public String getFullName();

	/**
	 * Sets the full name of this author.
	 *
	 * @param fullName the full name of this author
	 */
	public void setFullName(String fullName);

	/**
	 * Returns the birth day of this author.
	 *
	 * @return the birth day of this author
	 */
	public Date getBirthDay();

	/**
	 * Sets the birth day of this author.
	 *
	 * @param birthDay the birth day of this author
	 */
	public void setBirthDay(Date birthDay);

	/**
	 * Returns the email of this author.
	 *
	 * @return the email of this author
	 */
	@AutoEscape
	public String getEmail();

	/**
	 * Sets the email of this author.
	 *
	 * @param email the email of this author
	 */
	public void setEmail(String email);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(Author author);

	public int hashCode();

	public CacheModel<Author> toCacheModel();

	public Author toEscapedModel();

	public String toString();

	public String toXmlString();
}